#include "menu.h"
#include "ui_menu.h"
#include "spotlog.h"
#include"canteenlog.h"
#include"sys_suggestion_make.h"

Menu::Menu(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::Menu)
{
    ui->setupUi(this);
}

Menu::~Menu()
{
    delete ui;
}

void Menu::on_spotsButton_clicked()
{
    spotlog *ss =new spotlog();
    ss->show();
}


void Menu::on_canteenButton_clicked()
{
    canteenlog *ss2 =new canteenlog();
    ss2->show();
}


void Menu::on_exitButton_clicked()
{
    close();
}

void Menu::on_noticeButton_clicked()
{nno=new notice_view;
    nno->show();
}

void Menu::on_evalueButton_clicked()
{vs=new vis_sugg;
    vs->show();
}

void Menu::on_adviseButton_clicked()
{ssm=new sys_suggestion_make;
    ssm->show();

}


void Menu::on_pathButton_clicked()
{
    mg=new mapget;
    mg->show();
}
